﻿using System.ComponentModel.DataAnnotations;

namespace B.S.Meeting.ReadAPI.Dtos
{
    public class ApproveDto
    {
        public int ApproveReservationId { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproveReservationName { get; set; }
        /// <summary>
        /// 审批说明
        /// </summary>
        public string ApproveReservationOpinion { get; set; }
        /// <summary>
        /// 审批结果
        /// 1 已审批
        /// 0 待审批
        /// </summary>
        public int ApproveReservationStatus { get; set; }


        //=========================================================================================
        /// <summary>
        /// 会议预约ID（外键）
        /// </summary>
        public int MeetingReservationId { get; set; }
        /// <summary>
        /// 会议模版
        /// </summary>
        public string TemplateName { get; set; } = string.Empty;
        /// <summary>
        /// 会议主题
        /// </summary>
        public string ThemeName { get; set; } = string.Empty;
        /// <summary>
        /// 会议地点(外键会议室表)
        /// </summary>
        public int MeetingRoomId { get; set; }
        /// <summary>
        /// 主持人
        /// </summary>
        public string HostName { get; set; } = string.Empty;
        /// <summary>
        /// 会议时间
        /// </summary>
        public DateTime? MeetingDate { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BegingTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 参与人
        /// </summary>
        public string JoinName { get; set; } = string.Empty;
        /// <summary>
        /// 会议内容
        /// </summary>
        public string Content { get; set; } = string.Empty;
        /// <summary>
        /// 会议签到
        /// </summary>
        public int IsRegister { get; set; }
        /// <summary>
        /// 会议口令
        /// 开启
        /// 关闭
        /// </summary>
        public int IsPassword { get; set; }
        /// <summary>
        /// 口令内容
        /// </summary>
        public string PasswordMessage { get; set; } = string.Empty;
        /// <summary>
        /// 短信通知
        /// </summary>
        public int IsNotice { get; set; }
        /// <summary>
        /// 是否远程会议
        /// </summary>
        public int Teleconference { get; set; }
        /// <summary>
        /// 会议状态
        /// 未开始
        /// 已结束
        /// </summary>
        public int ReservationStatus { get; set; }

        /// <summary>
        /// 会议位置
        /// </summary>
        public string Location { get; set; }
    }
}
